package cn.hinglo.gameclaw.user.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @createTime: 2017/12/29
 * @author: HingLo
 * @description: 用户其他的信息实体
 */
@Data
@Accessors(chain = true)
@Table(name = "user_info")
public class UserInfo implements Serializable {
    /**
     * //用户的唯一ID
     */

    @Id
    @Column(name = "user_id")
    private String userId;
    /**
     * //用户显示的唯一id
     */
    private String uid;
    /**
     * 充值的钻石数量
     */
    private Integer gold;

    /**
     * 签到,邀请码赠送的的钻石
     */
    @Column(name = "give_gold")
    private Integer giveGold;

    /**
     * 积分数量
     */
    private Integer score;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 昵称
     */
    @Column(name = "nike_name")
    private String nikeName;
    /**
     * 头像地址
     */
    private String header;

    /**
     * 填写的别人的邀请码
     */
    @Column(name = "fill_code")
    private String fillCode;


}
